<?php
class latestMember
{
    public function editMember(Identity $memberData)
    {
        $memberData->name = 'Mark';
        $memberData->age += rand(27, 30);
        $memberData->car = 'Mini';
        $memberData->motor = 'BMW';

        return $memberData;
    }
}

class Identity
{
    var $name;
    var $age;
    var $car;
    var $motor;
}
?>
